//view_api.js
import http from '@/public/js/http.js'

//获取页面的基本数据
export const getDicts = () => {
    return http({
        url: '/view/dicts',
        method: 'get'
    })
};
export const getOpts = () => {
    return http({
        url: '/view/opts',
        method: 'get'
    })
};
export const getBrands = () => {
    return http({
        url: '/view/brands',
        method: 'get'
    })
};
export const getAddress = () => {
    return http({
        url: '/view/address',
        method: 'get'
    })
};

